
public class Text{

    int num ;
    String name  ;
   Text(String name  , int num){
       this.name = name ;
       this.num = num ;
   }

    @Override
    public String toString() {
       return "name" + this.name + " " +"num" + this.num ;
    }

    public static void main(String[] args){
      Text text = new Text("文" , 1) ;
        System.out.println(text);
    }

}